package homewok3;

public class Test {

	public static void main(String[] args) {
		Computer c = new Computer("mac");
		c.Cpu();
		c.Men();
		Usb[] b = new Usb[4];
		b[0] = new UKeyboard();
		b[1] = new UsbFan();
		b[2] = new UsbMouse();

		Usb uDisk = new UKeyboard();
		uDisk.start();
		uDisk.stop();

		Usb usbFan = new UsbFan();
		usbFan.start();
		usbFan.stop();

		Usb usbMouse = new UsbMouse();
		usbMouse.start();
		usbMouse.stop();

	}

}
